package com.gwclh.personnel.vo.internshipvo;

import com.gwclh.personnel.entity.Employee;
import com.gwclh.personnel.entity.Internship;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class InternshipEmpVo extends Employee {

    private Integer internshipId;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "岗位名称")
    private String staName;

    @ApiModelProperty(value = "试用期开始日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDate;

    @ApiModelProperty(value = "试用期结束日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    @ApiModelProperty(value = "试用状态：0正常，1转正，2延期，3未录用，默认值0，若查询实习员工，则查询状态为0，2的emp_id即可")
    private Integer internStatus;

    private String remark;

    private Integer operId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date operDate;

    private String comment;

    private String operName;



}
